﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucFaqAnswer.ascx.cs"
    Inherits="SES.CMS.AdminCP.PageUC.ucFaqAnswer" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<%@ Register Assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<style type="text/css">
        td.tdTitle
        {
        	height:20px;
        	margin-left:2px;
        	width:150px;
        	font-family:Times New Roman, Arial, Tahoma;
        	font-size:15px;
        	color:#000;
        	}
        	td.tdTitle p
        	{
        		height:20px;
        		margin:0px;
        		padding:0px;
        		color:#000;
        width: 109px;
    }
       td.tdContent
       {
       	}
    .style1
    {
        width: 339px;
    }
</style>
<h2>
    Hỏi đáp</h2>
<table width="100%" border="1">
    <tr>
        <td class="tdTitle">
            <p>
                Tên người hỏi:</p>
        </td>
        <td class="style1">
            <asp:TextBox ID="txtTenNguoiHoi" runat="server" Width="235px"></asp:TextBox>
        </td>
        <td class="tdTitle">
            <p>
                Người trả lời</p>
        </td>
        <td>
            <asp:TextBox ID="txtNguoiTraLoi" runat="server" Width="235px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="tdTitle">
            <p>
                Email</p>
        </td>
        <td class="style1">
            <asp:TextBox ID="txtEmail" runat="server" Width="235px"></asp:TextBox>
        </td>
        <td>Hiển thị</td>
        <td>
            <asp:CheckBox ID="cbHienThi" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="tdTitle">
            <p>
                Ngày đặt câu hỏi</p>
        </td>
        <td class="style1">
            <asp:TextBox ID="txtNgayHoi" runat="server" Width="235px"></asp:TextBox>
        </td>
        <td class="tdTitle">
            <p>
                Đã trả lời</p>
        </td>
        <td>
            <asp:CheckBox ID="cbDaTraLoi" runat="server" />
        </td>
    </tr>
   
    <tr>
        <td class="tdTitle">
            Thông tin khác:
        </td>
        <td colspan="3">
            <asp:TabContainer ID="tcDetail" runat="server" ActiveTabIndex="1" Width="100%">
                <asp:TabPanel ID="TabPanel1" runat="server" HeaderText="Nội dung câu hỏi">
                    <ContentTemplate>
                        <CKEditor:CKEditorControl ID="txtCauHoi" runat="server"></CKEditor:CKEditorControl>
                    </ContentTemplate>
                </asp:TabPanel>
                <asp:TabPanel ID="TabPanel3" runat="server" HeaderText="Câu trả lời">
                    <ContentTemplate>
                        <CKEditor:CKEditorControl ID="txtCauTraLoi" runat="server"></CKEditor:CKEditorControl>
                    </ContentTemplate>
                </asp:TabPanel>
            </asp:TabContainer>
        </td>
    </tr>
    <tr>
        <td class="tdTitle">
        </td>
        <td colspan="3">
            <div style="float: left; margin-right: 10px; margin-top: 10px;">
                <dxe:ASPxButton ID="btSave" runat="server" Text="Lưu" CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css"
                    CssPostfix="Soft_Orange" OnClick="btSave_Click">
                </dxe:ASPxButton>
            </div>
            <div style="margin-top: 10px;">
                <dxe:ASPxButton ID="btCancel" runat="server" Text="Hủy" CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css"
                    CssPostfix="Soft_Orange">
                </dxe:ASPxButton>
            </div>
        </td>
    </tr>
</table>
